//过度效果
.fade-enter-active,
.fade-leave-active {
  transition: opacity 0.5s ease;
}

.fade-enter-from,
.fade-leave-to {
  opacity: 0;
}

.vertical {
    // background-color: red;
    position: absolute;
    top: 0;
    // height: 100%;
    width: 6px;
    right: 2px;
    bottom: 2px;
    z-index: 20;

    .thumb {
        border-radius: 6px;
        background-color: #909399;
        opacity: 0.4;
        cursor: pointer;
        // width: 6px;
        width: 100%;
        // height: 100%;
        &:hover {
            opacity: 0.7;
            background-color: #909399;
        }
    }
}

.horizontal{
    position: absolute;
    bottom: 2px;
    left: 2px;
    height: 6px;
    width: 100%;
    z-index: 20;
    border-radius: 4px;

    .thumb {
        height: 100%;
        border-radius: 6px;
        background-color: #909399;
        opacity: 0.4;
        cursor: pointer;
        &:hover {
            opacity: .7;
            background-color: #909399;
        }
    }
}